

class Solution:
    def reverseLeftWords(self, s: str, n: int) -> str:
        ans=s[n:]
        ans+=s[0:n]
        return ans


if __name__ == '__main__':
    s=Solution()
    s1 = "abcdefg"
    ans=s.reverseLeftWords(s1,2)
    print(ans)